home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9018 < prev    next >
Encoding:
Text File  |  1996-08-05  |  652 b   |  25 lines

  1. Newsgroups: comp.lang.c++
  2. Path: bath.ac.uk!ma2rct
  3. From: Rob Turner <ma2rct@bath.ac.uk>
  4. Subject: Union equivelant in C++
  5. Content-Type: text/plain; charset=us-ascii
  6. Content-Transfer-Encoding: 7bit
  7. Sender: ma2rct@bath.ac.uk (Verified by Kerberos)
  8. Organization: Bath University
  9. Message-ID: <3130A7A2.404D@bath.ac.uk>
  10. X-Mailer: Mozilla 2.0GoldB1 (WinNT; I)
  11. Mime-Version: 1.0
  12. X-Nntp-Posting-Host: matemp-pc.maths.bath.ac.uk
  13. Date: Sun, 25 Feb 1996 18:17:41 GMT
  14.  
  15. I need to store a data structure where there is more than one 
  16. choice for what is stored.
  17.  
  18. Effectively a structure of unions.
  19.  
  20. Is there anything better than a union that is C++ specific.
  21.  
  22. TIA
  23.  
  24. Rob
  25.